//==============================================================================
// Schrine_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
	SetSelector
	{
		EmpowerLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visualnone Jimmy
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visualparticle SFX E Pharaoh Empower Large
				}
			}
		}
	}
}

//==============================================================================
define VINEA
{
	set hotspot
	{
		version
		{
			Visual Building VineA
		}
	}  
}

//==============================================================================
define VINEB
{
	set hotspot
	{
		version
		{
			Visual Building VineB
		}
	}  
}

//==============================================================================
define CypressA
{
	set hotspot
	{
		version
		{
			visual terrain g cypressA
		}
	}
}

//==============================================================================
define CypressB
{
	set hotspot
	{
		version
		{
			visual terrain g cypressB
		}
	}
}

//==============================================================================
define Dust
{
	set hotspot
	{
		version
		{
			Visualparticle SFX A Building DustA
		}
	}  
}

//==============================================================================
anim idle
{
	SetSelector
	{
		CultureLogic Egyptian/Greek/Norse/Atlantean
//---------------------------------Egyptian---------------------------------------//
	SetSelector
               {
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building E Ballista Tower Age4
                  connect ATTACHPOINT empower hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
		            connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building G TowerConstruction
                  connect ATTACHPOINT empower hotspot
	         	   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
               }
            }
         }
      }
//---------------------------------Greek-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							 Visual Building g guardtower
							 connect Leftleg vINEA hotspot
							 connect Rightfoot VINEA hotspot
							 connect Rightleg VINEb hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN G_Small_Brick hotspot
		      			connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
				}
			}
//---------------------------------Norse-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building N TowerAge4
							connect rightfoot vinea hotspot
							connect righthand vinea hotspot
							connect rightear vinea hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN N_Small_Brick hotspot
		   				connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN N_Small_Brick hotspot
		      			connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect CHIN N_Small_Brick hotspot
		   				connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
				}
         }
//---------------------------------Atlantean-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building X Guard Tower
							ReplaceTexture Building X Tower Watch2/Building X Tower Watch4
							connect rightfoot vinea hotspot
							connect LeftLeg vinea hotspot
							connect rightear vinea hotspot							
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
	         			connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
				}
			}
	}
}

//==============================================================================
anim RangedAttack
{
	SetSelector
	{
		CultureLogic Egyptian/Greek/Norse/Atlantean
//---------------------------------Egyptian---------------------------------------//
	SetSelector
               {
         SetSelector
         {
            ConstructionLogic 0 33 66
            set hotspot
            {
               version
               {
                  Visual Building E Ballista Tower Age4
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                     tag Attack 0.40 true   
                     tag GenericSound 0.40 true   
                     tag SpecificSoundSet 0.00 false SwordSwing checkVisible 
//-- end auto generated section
                  connect ATTACHPOINT empower hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall A
                  connect ATTACHPOINT empower hotspot
         		   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction XSmall B
                  connect ATTACHPOINT empower hotspot
		            connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building G TowerConstruction
                  connect ATTACHPOINT empower hotspot
	         	   connect CHIN E_Small_Brick hotspot
		   		   connect ATTACHPOINT E_Long_Brick hotspot
               }
            }
         }
      }
//---------------------------------Greek-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							 Visual Building g guardtower
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                     tag Attack 0.40 true   
                     tag GenericSound 0.40 true   
                     tag SpecificSoundSet 0.00 false SwordSwing checkVisible 
//-- end auto generated section
							 connect Leftleg vINEA hotspot
							 connect Rightfoot VINEA hotspot
							 connect Rightleg VINEb hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN G_Small_Brick hotspot
		      			connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
				}
			}
//---------------------------------Norse-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building N TowerAge4
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                     tag Attack 0.40 true   
                     tag GenericSound 0.40 true   
                     tag SpecificSoundSet 0.00 false SwordSwing checkVisible 
//-- end auto generated section
							connect rightfoot vinea hotspot
							connect righthand vinea hotspot
							connect rightear vinea hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN N_Small_Brick hotspot
		   				connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN N_Small_Brick hotspot
		      			connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect CHIN N_Small_Brick hotspot
		   				connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
				}
         }
//---------------------------------Atlantean-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building X Guard Tower
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                     tag Attack 0.40 true   
                     tag GenericSound 0.40 true   
                     tag SpecificSoundSet 0.00 false SwordSwing checkVisible 
//-- end auto generated section
							ReplaceTexture Building X Tower Watch2/Building X Tower Watch4
							connect rightfoot vinea hotspot
							connect LeftLeg vinea hotspot
							connect rightear vinea hotspot							
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
	         			connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
				}
			}
	}
}

//==============================================================================
anim death
{
	SetSelector
	{
		CultureLogic Egyptian/Greek/Norse/Atlantean
//---------------------------------Egyptian---------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building E Guard Tower Age4_Death
							connect smoke0 dust hotspot
							connect smoke1 dust hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
							connect ATTACHPOINT empower hotspot
         				connect CHIN E_Small_Brick hotspot
		   				connect ATTACHPOINT E_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect ATTACHPOINT empower hotspot
							connect CHIN E_Small_Brick hotspot
		      			connect ATTACHPOINT E_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect ATTACHPOINT empower hotspot
							connect CHIN E_Small_Brick hotspot
		   				connect ATTACHPOINT E_Long_Brick hotspot
					}
				}
			}
		}
//---------------------------------Greek-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							 Visual Building g guardtower_Death
							connect smoke0 dust hotspot
							connect smoke1 dust hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN G_Small_Brick hotspot
		      			connect ATTACHPOINT G_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect CHIN G_Small_Brick hotspot
		   				connect ATTACHPOINT G_Long_Brick hotspot
					}
				}
			}
		}
//---------------------------------Norse-----------------------------------------//
		SetSelector
		{
				SetSelector
				{
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building N TowerAge4_Death
							connect smoke0 dust hotspot
							connect smoke1 dust hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
         				connect CHIN N_Small_Brick hotspot
		   				connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN N_Small_Brick hotspot
		      			connect ATTACHPOINT N_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building G TowerConstruction
							connect CHIN N_Small_Brick hotspot
		   				connect ATTACHPOINT N_Long_Brick hotspot
					}
				}
			}
		}
//---------------------------------Atlantean-----------------------------------------//
		SetSelector
		{
				SetSelector
				{			
					ConstructionLogic 0 33 66
					set hotspot
					{
						version
						{
							Visual Building X Guard Tower_death
							ReplaceTexture Building X Tower Watch2/Building X Tower Watch4
							connect smoke0 dust hotspot
							connect smoke1 dust hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall A
							connect CHIN E_Small_Brick hotspot
							connect ATTACHPOINT E_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN E_Small_Brick hotspot
							connect ATTACHPOINT E_Long_Brick hotspot
						}
					}
					set hotspot
					{
						version
						{
							Visual Building Construction XSmall B
							connect CHIN E_Small_Brick hotspot
							connect ATTACHPOINT E_Long_Brick hotspot
					}
				}
			}
		}
	}
}
